<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>海外购——商品管理</title>

    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">

    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">

</head>

<table style="text-align: center;" border="1px">
    <tr>
        <td>商品名称</td>
        <td>商品类型</td>
        <td>状态</td>
        <td>商品原价</td>
        <td>商品现价</td>
        <td>渠道</td>
        <td>是否代理</td>
        <td>操作</td>
    </tr>

        <c:forEach items="${sessionScope.ddd}" var="a">
            <tr>

            <td>${a.commodityname}</td>
            <td>${a.category3}</td>
            <td>${a.status}</td>
            <td>${a.oprice}</td>
            <td>${a.cprice}</td>
            <td>${a.channel}</td>
            <td><c:if test="${a.proxycommission==0}">否</c:if><c:if test="${a.proxycommission==1}">是</c:if></td>
            <td><a>修改</a><a>删除</a></td>
            </tr>
        </c:forEach>

</table>
<div>
    <a href="getAll?page=1">首页</a> <a href="getAll?page=${sessionScope.page-1 }">上一页</a> <a href="getAll?page=${sessionScope.page+1 }">下一页</a> <a href="getAll?page=${sessionScope.pageYs }">末页</a>
</div>
</body>


</html>
